﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace haunstm_test_windows_forms
{
    public partial class frmPressButtonToOpenPDF : Form
    {
        public frmPressButtonToOpenPDF()
        {
            InitializeComponent();
        }

        private void btnOpenPDF_Click(object sender, EventArgs e)
        {
            var path = System.IO.Path.GetDirectoryName(
               System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase);

            try
            {
                var userManualFileName = @"Resources\" + @"itConnect_UserManual.pdf";
                System.Diagnostics.Process.Start(userManualFileName);
            }
            catch (Exception)
            {
                
                throw;
            }
        }
    }
}
